Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions

نویسنده

  • Ali M. Alakeel
چکیده

Program assertions have been recognized as a supporting tool during software development, testing, and maintenance. Therefore, software developers place assertions within their code in positions that are considered to be error prone or that have the potential to lead to a software crash or failure. Similar to any other software, programs with assertions must be maintained. Depending on the type of modification applied to the modified program, assertions also might have to undergo some modifications. New assertions may also be introduced in the new version of the program, while some assertions can be kept the same. This paper presents a novel approach for test case prioritization during regression testing of programs that have assertions using fuzzy logic. The main objective of this approach is to prioritize the test cases according to their estimated potential in violating a given program assertion. To develop the proposed approach, we utilize fuzzy logic techniques to estimate the effectiveness of a given test case in violating an assertion based on the history of the test cases in previous testing operations. We have conducted a case study in which the proposed approach is applied to various programs, and the results are promising compared to untreated and randomly ordered test cases.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Test Case Prioritization Using Fuzzy Logic Based on Requirement Prioritizing

Boolean expressions are popularly used for modelling decisions or conditions in specifications or source programs and they are very much prone to introduction of faults. Even for a Boolean expression with few numbers of literals the possible number of test cases can be quite large. Boolean expressions with n variables require 2 n test cases to distinguish from faulty expression. In practice, n ...

متن کامل

Regression Testing Using Fuzzy Logic

Regression testing is an immensely important process in the maintenance phase. The prioritization of test case becomes all the more important owing to the fact that it is not feasible to run all the test cases after each and every change. The proposed work dwells on the power of fuzzy expert system to make decisions which are better than the normal expert systems. The technique uses concepts li...

متن کامل

Regression Testing Prioritization Based on Fuzzy Inference Systems

The software testing is a fundamental activity related to product quality. However, it is not performed in suitable way by many organizations. It is necessary to execute testing in a systematic and planned way. This work presents a fuzzy inference system for test case prioritization, based on the use of inputs related to volatility, complexity and relevance of requirements. The developed infere...

متن کامل

Test Case PrioritizationUsing Fuzzy Logic for GUI based Software

Testing of GUI (Graphical User Interface) applications has many challenges due to its event driven nature and infinite input domain. It is very difficult for any programmer to test for each and every possible input. When test cases are generated using automated testing tool it uses each and every possible combination to generate test cases hence generates numerous number of test case for any GU...

متن کامل

A Prioritization Model for HSE Risk Assessment Using Combined Failure Mode, Effect Analysis, and Fuzzy Inference System: A Case Study in Iranian Construction Industry

The unavailability of sufficient data and uncertainty in modeling, some techniques, and decision-making processes play a significant role in many engineering and management problems.  Attain to sure solutions for a problem under accurate consideration is essential.  In this paper, an application of fuzzy inference system for modeling the indeterminacy involved in the problem of HSE risk assessm...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره 2014  شماره 

صفحات  -

تاریخ انتشار 2014